home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / bench / x.txt / 000137_fdc@watsun.cc.columbia.edu_Fri Nov 9 09:29:33 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  2KB  |  42 lines

  1. Article: 12957 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!watsun.cc.columbia.edu!fdc
  3. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.unix.sco.misc,comp.protocols.kermit.misc
  5. Subject: Re: OSR5 <sys/termio.h> (OSR5 modem signals)
  6. Date: 9 Nov 2001 14:29:58 GMT
  7. Organization: Columbia University
  8. Lines: 25
  9. Message-ID: <9sgp96$9nc$1@newsmaster.cc.columbia.edu>
  10. References: <9s775v$ip0$1@newsmaster.cc.columbia.edu> <3bea05eb$0$79559$8eec23a@newsreader.tycho.net> <9se63k$kqo$1@newsmaster.cc.columbia.edu> <3beb40ea$0$79556$8eec23a@newsreader.tycho.net>
  11. NNTP-Posting-Host: watsun.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1005316198 9964 128.59.39.2 (9 Nov 2001 14:29:58 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 9 Nov 2001 14:29:58 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.unix.sco.misc:140086 comp.protocols.kermit.misc:12957
  16.  
  17. In article <3beb40ea$0$79556$8eec23a@newsreader.tycho.net>,
  18. John DuBois <spcecdt@deeptht.armory.com> wrote:
  19. : In article <9se63k$kqo$1@newsmaster.cc.columbia.edu>,
  20. : Frank da Cruz <fdc@watsun.cc.columbia.edu> wrote:
  21. : >  ttyfd = open(name,O_RDWR|O_NONBLOCK);
  22. : >  tcsetattr(ttyfd,TCSADRAIN,&ttcur);
  23. : >
  24. : >... any write() to the reopened device gets error 11, "Resource
  25. : >temporarily unavailable".  Did I miss a step?  Or is this a difference
  26. : >between 5.0.6a and earlier OSR5s?
  27. : You missed a step (the same one that a lot of app writers did); it's one that
  28. : didn't trip anyone up until tty behaviour was made POSIX-correct in 5.0.0. 
  29. :
  30. Let's hear it for political correctess.
  31.  
  32. I stumbled on this trick (setting CLOCAL) yesterday independently, and now SCO
  33. 5.0.5 Kermit can hang up a modem by momentarily dropping DTR without wedging
  34. itself afterwards.  I suppose it should have been obvious -- after all, if
  35. you do hang up the modem successfully, you can't really expect carrier to be
  36. on afterwards.
  37.  
  38. Thanks!  Now on to the next thing (modem servers...)
  39.  
  40. - Frank
  41.